.class Lcom/example/m6wmr/CarOrderActivity$3;
.super Ljava/lang/Object;
.source "CarOrderActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/CarOrderActivity;->initshoptypeWindow()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/CarOrderActivity;

.field private final synthetic val$c:Ljava/util/Map;

.field private final synthetic val$mPopupWindow:Landroid/widget/PopupWindow;

.field private final synthetic val$textView1:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/CarOrderActivity;Landroid/widget/PopupWindow;Ljava/util/Map;Landroid/widget/TextView;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iput-object p2, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$mPopupWindow:Landroid/widget/PopupWindow;

    iput-object p3, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$c:Ljava/util/Map;

    iput-object p4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$textView1:Landroid/widget/TextView;

    .line 429
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 431
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v4

    if-eqz v4, :cond_0

    .line 450
    :goto_0
    return-void

    .line 434
    :cond_0
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$mPopupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v4}, Landroid/widget/PopupWindow;->dismiss()V

    .line 436
    iget-object v5, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$c:Ljava/util/Map;

    const-string v6, "value"

    invoke-interface {v4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-static {v5, v4}, Lcom/example/m6wmr/CarOrderActivity;->access$4(Lcom/example/m6wmr/CarOrderActivity;Ljava/lang/String;)V

    .line 437
    iget-object v5, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$c:Ljava/util/Map;

    const-string v6, "cost"

    invoke-interface {v4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    iput-object v4, v5, Lcom/example/m6wmr/CarOrderActivity;->pscost2:Ljava/lang/String;

    .line 438
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iget-object v4, v4, Lcom/example/m6wmr/CarOrderActivity;->pscost2:Ljava/lang/String;

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 439
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    const-string v5, "0.0"

    iput-object v5, v4, Lcom/example/m6wmr/CarOrderActivity;->pscost2:Ljava/lang/String;

    .line 441
    :cond_1
    const-string v4, "c----------------"

    new-instance v5, Ljava/lang/StringBuilder;

    iget-object v6, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    # getter for: Lcom/example/m6wmr/CarOrderActivity;->pstime:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/CarOrderActivity;->access$21(Lcom/example/m6wmr/CarOrderActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 442
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->val$textView1:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v4

    invoke-interface {v4}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    .line 443
    .local v3, "ss":Ljava/lang/String;
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    # getter for: Lcom/example/m6wmr/CarOrderActivity;->tv_time:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6wmr/CarOrderActivity;->access$1(Lcom/example/m6wmr/CarOrderActivity;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 444
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    # getter for: Lcom/example/m6wmr/CarOrderActivity;->tv_ps2:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6wmr/CarOrderActivity;->access$22(Lcom/example/m6wmr/CarOrderActivity;)Landroid/widget/TextView;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iget-object v5, v5, Lcom/example/m6wmr/CarOrderActivity;->pscost2:Ljava/lang/String;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 445
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    # getter for: Lcom/example/m6wmr/CarOrderActivity;->tv_total:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6wmr/CarOrderActivity;->access$12(Lcom/example/m6wmr/CarOrderActivity;)Landroid/widget/TextView;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v4

    invoke-interface {v4}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    .line 446
    .local v2, "cc":Ljava/lang/String;
    invoke-static {v2}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v0

    .line 447
    .local v0, "aa":F
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    iget-object v4, v4, Lcom/example/m6wmr/CarOrderActivity;->pscost2:Ljava/lang/String;

    invoke-static {v4}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v4

    add-float v1, v0, v4

    .line 448
    .local v1, "bb":F
    iget-object v4, p0, Lcom/example/m6wmr/CarOrderActivity$3;->this$0:Lcom/example/m6wmr/CarOrderActivity;

    # getter for: Lcom/example/m6wmr/CarOrderActivity;->tv_total:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6wmr/CarOrderActivity;->access$12(Lcom/example/m6wmr/CarOrderActivity;)Landroid/widget/TextView;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method
